<%--
  Created by IntelliJ IDEA.
  User: 27922
  Date: 2019/10/24
  Time: 15:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery-3.4.1.min.js"></script>
</head>

<body>
<form action="/article/query.do" method="post">
    id: <input type="text" name="id" id="id"/>
    标题:<input type="text" name="title" id="title">
    <button type="submit" id="ss">提交</button>
</form>
<table border="1px">
    <tr>
        <td>序号</td>
        <td>文章标题</td>
        <td>UserId</td>
        <td>文章内容</td>
        <td>点赞数</td>
        <td>举报数</td>
        <td>发布时间</td>
        <td>新闻浏览数</td>
    </tr>
    <c:forEach items="${requestScope.artciles}" var="r">
        <tr>
            <td>${r.id}</td>
            <td>${r.title}</td>
            <td>${r.userid}</td>
            <td>${r.content}</td>
            <td>${r.beclick }</td>
            <td>${r.bereport}</td>
            <td>${r.releasetime}</td>
            <td>${r.views}</td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
